
// 智付
export const getAllRequest = (path) => {
  return new Promise((resolve, reject) => {
    uni.request({
      url: path,
      method: 'get',
      header: {
        'Referer': 'https://www.xdyy100.com'
      },
      success: (res) => {
        if (res.statusCode === 302) {
          resolve(res.header.location)
        }
      }
    })
  })
}

